package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

public interface DeptService {

    //查询所有
    List<Dept> findAll();

    //保存
    void save(Dept dept);

   //根据id删除
    void deleteById(Integer id);

}
